home *** CD-ROM | disk | FTP | other *** search
- on maccopypress
- openXLib(":Xtras:macxtra:filecopy")
- set fileName to the pathName & "presstxt:" & the name of cast the mouseCast
- if fileName > EMPTY then
- put fileName
- set loc to "desktop folder:"
- set wFileName to doSaveAsDlg(loc & the name of cast the mouseCast, "word files@*.rtf")
- if wFileName > EMPTY then
- put wFileName
- set result to copyFile(wFileName, fileName)
- put result
- end if
- end if
- closeXLib(":Xtras:macxtra:filecopy")
- abort()
- end
-